@charset 'utf-8';
* {
    padding: 0;
    margin: 0;
}

html, body {
    width: 100%;
    height: 100%;
}


#tree {
    display: inline-block;
    width: 220px;
    height: 100%;
    background: #fff;
}

#tree ul {
    width: 100%;
    font-size: 14px;
    list-style: none;
    box-sizing: border-box;
}

#tree ul ul {
    display: none;
    height: 0;
    padding: 0 0 0 2em;
    box-sizing: border-box;
    transition: all .3s ease-in-out;
}

#tree > ul li {
    width: 100%;
    height: 30px;
    line-height: 30px;
    padding: 0 0 0 2em;
    box-sizing: border-box;
    cursor: pointer;
}

#tree ul ul.show {
    display: inline-block;
    height: 100%;
}

#tree .active {
    background: #e4e8f1;
}

#tree ul li i, #tree ul li span {
    display: inline-block;
    text-align: left;
}
#tree ul li span {
    width: 90%;
}

#tree ul li i {
    width: 10%;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    color: #97A8BE;
}

#tree > ul  li i {
    transform: rotate(0deg);
    transform-origin: 25% center;
    transition: transform .3s ease-in-out;
}

#tree > ul  li .rotate {
    transform: rotate(90deg);
}